
.bjs-table-mini {

  margin-top: 20px;

  [data-theme="night"] & {
    border:1px solid #212121 !important;
    background-color: $theme-bg-color-night !important;
  }

  &::before {
    [data-theme="night"] & {
      background-color: $theme-bg-color-night !important;
    }
  }

  &::after {
    [data-theme="night"] & {
      background-color: $theme-bg-color-night !important;
    }
  }

  // =================================== 表头 ===================================
  /deep/ .el-table__header-wrapper {
    [data-theme="night"] & {
      background-color: $theme-bg-color-night !important;
    }

    /deep/ .el-table__header {
      [data-theme="night"] & {
        background-color: $theme-bg-color-night !important;
      }

      thead {
        border: 0 !important;
        [data-theme="night"] & {
          background-color: $theme-bg-color-night !important;
        }
      }

      tr {
        border: 0 !important;
        [data-theme="night"] & {
          background-color: $theme-bg-color-night !important;
        }
      }

      th {
        //border: 0 !important;
        [data-theme="night"] & {
          border-color: #212121 !important;
          background-color: $theme-bg-color-night !important;
        }
      }

      /deep/ .cell {
        border: 0 !important;
        [data-theme="night"] & {
          background-color: $theme-bg-color-night !important;
        }
      }
    }
  }


  // =================================== 表身 ===================================
  /deep/ .el-table__body-wrapper {


    /deep/ .el-table__body {
      /deep/ .cell {
        border: 0 !important;
        [data-theme="night"] & {
          background-color: $theme-bg-color-night !important;
        }

        &:hover {
          [data-theme="night"] & {
            border: 0 !important;
            background-color: $theme-bg-color-night !important;
          }

          border: 0 !important;
          tr td th {
            border: 0 !important;
          }
        }
      }

      tr:hover>td {
        [data-theme="night"] & {
          background-color: $theme-color-night-dark-3;
        }
      }
    }

    /deep/ .el-table__row {
      &:hover {
        [data-theme="night"] & {
          border-color: #212121;
        }
      }
    }


    /deep/ tr {
      [data-theme="night"] & {
        background-color: $theme-bg-color-night;
      }
    }

    /deep/ th {
      padding: 1px 0;
      color: $theme-color-light-dark;
    }

    /deep/ td {
      padding: 1px 0;
      [data-theme="night"] & {
        border-right: 1px solid #212121;
        border-bottom: 1px solid #212121;
      }
    }
  }
}